Formation of partial differential equation by eliminating arbitrary constants